package cn.xiaodi.site.jdbc;

import cn.xiaodi.site.jdbc.mapper.impl.StudentRowMapper;
import cn.xiaodi.site.jdbc.model.Student;
import cn.xiaodi.site.jdbc.service.IStudentService;
import cn.xiaodi.site.jdbc.service.impl.StudentServiceImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author xiao
 * @email 245938767@qq.com
 * @gitee https://gitee.com/liu_yong_qiee/
 * @date 2021/10/13 9:25 上午
 */
public class mains {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
        IStudentService studentRowMapper = (StudentServiceImpl) context.getBean("studentService");
        Integer[] x={1,2};
        studentRowMapper.deleteUser(x);
    }

}
